package com.moduleSys.mapper;//package com.moduleSys.mapper;

import com.moduleSys.entity.system.RoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by czw on 2017/7/22 0022.
 */
public interface RoleMenuMapper {

    void insertRoleMenuForeach(List<RoleMenu> menuIdList);

    void deleteByRoleId(Long roleId);

    void deleteBatchByMenuId(@Param("menuIdList") List<Long> menuIdList);

    void deleteBatchByRoleId(@Param("roleIdList") List<Long> roleIdList);
}
